Dialog

data class Dialog(val tag: String? = null, val getFragmentManager: ActivityLifecycleSubscribable.LifecycleManager.() -> FragmentManager = { fragmentManager }, val createDialog: () -> DialogFragment) : NavigationSpec

Shows a DialogFragment

Parameters

tag

Optional tag to add to the Dialog

getFragmentManager

Optional getter for the FragmentManager to handle showing the DialogFragment

createDialog

Function to create the DialogFragment to display

Constructors

Link copied to clipboard
constructor(tag: String? = null, getFragmentManager: ActivityLifecycleSubscribable.LifecycleManager.() -> FragmentManager = { fragmentManager }, createDialog: () -> DialogFragment)

Properties

Link copied to clipboard
Link copied to clipboard
val tag: String? = null